package com.share.bigdata.phoenix.model.db;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2024-04-29
 */
@Data
@Accessors(chain = true)
@TableName("mc_data_log")
public class DataLog implements Serializable{

    private static final long serialVersionUID=1L;

    /** 主键 */
    @TableId(type = IdType.AUTO)
    private Long id;
    /** 请求者ip */
    @TableField(value = "remote_ip")
    private String remoteIp;
    /** code值 */
    private String code;
    /** 请求参数 */
    private String request;
    /** 响应结果 */
    private String response;
    /** 请求时间 */
    @TableField(value = "start_time")
    private Date startTime;
    /** 响应时间 */
    @TableField(value = "end_time")
    private Date endTime;
    /** 耗时 */
    private Long costs;
    /** 创建时间 */
    @TableField(value = "create_time")
    private Date createTime;

}
